package forumSystem;

public class Post {
	
	private int id;
	private String title;
	private String desc; 
	private int userID;
	private int subForumID;
	
	public Post(int id, String title, String desc, int userID, int subForumID){
		this.id=id;
		this.title=title;
		this.setDesc(desc);
		this.userID=userID;
		this.subForumID=subForumID;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public int getSubForumID() {
		return subForumID;
	}
	public void setSubForumID(int subForumID) {
		this.subForumID = subForumID;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}
